package com.wave12.pro_cart.service.impl;

import com.wave12.pro_cart.dao.ProCartDao;
import com.wave12.pro_cart.dao.SellerProductDao;
import com.wave12.pro_cart.entity.SellerProduct;
import com.wave12.pro_cart.service.SellerProductService;
import org.springframework.beans.factory.annotation.Autowired;
import tk.mybatis.mapper.common.Mapper;

/**
 * @Auther: blackcat
 * @Date: 2021-07-24
 * @Description: com.wave12.pro_cart.service.impl
 * @version:
 */
public class SellerProductServiceImpl  extends BaseServiceImpl<SellerProduct>  implements SellerProductService {
    
    @Autowired
    SellerProductDao sellerProductDao;
    
    @Override
    protected Mapper<SellerProduct> getMapper() {
        return this.sellerProductDao;
    }
    
    @Override
    public int insertSellerProduct(SellerProduct sellerProduct) {
        return sellerProductDao.insert(sellerProduct);
    }
}
